<head th:fragment="culHeaderCss">
    <meta charset="utf-8">
    <title>湖南金职伟业母婴护理有限公司—培训就业平台</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <meta name="keywords" content="金职伟业"/>
    <meta name="description"
          content="湖南金职伟业发展有限公司"/>
    <meta name="renderer" content="webkit">
    <link rel="stylesheet" href="/css/bootstrap.min.css" type="text/css"/>
    <link rel="stylesheet" href="/js/layui/css/layui.css">
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" href="/css/cultivateWeb/style/reset.css">
    <!--    <link rel="stylesheet" href="//at.alicdn.com/t/font_1631099_c2ht6ck3pi.css">-->
    <link rel="stylesheet" href="/css/cultivateWeb/headfoot.css"/>
    <link rel="stylesheet" href="/css/cultivateWeb/index.css">
    <link rel="stylesheet" href="/css/cultivateWeb/font_1166024_vobajbx8d1o.css"/>
    <link rel="stylesheet" href="/css/cultivateWeb/font_1631099_apll1sleb7k.css"/>
    <link rel="stylesheet" href="/css/cultivateWeb/dyf.css">
    <link rel="stylesheet" href="/css/cultivateWeb/style/main.css"/>
    <link href="/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/selectpage.css" type="text/css">
</head>
<!--头部部分-->
<div class="heads" th:fragment="header" style="background: #fff">
    <script src="/js/jquery.min.js"></script>
    <script src="/js/plugins/layer/layer.js"></script>
    <script type="text/javascript" src="/js/cultivateWeb/main.js"></script>
    <!--分页下拉框-->
    <script type="text/javascript" src="/js/selectpage.js"></script>
    <div class="phone_hide">
        <div class="tou">
            <div class="main-md">
                <div class="revi-header">
                    <a href="/cultivate/homepage" class="revi-logo-img lf">
                        <img src="/img/jzwy.png" style="width:217px;height:49px" alt="logo"/> </a>
                    <!-- 搜索框 小屏幕不显示 -->
                    <div class="layui-input-block search" style="float: left;margin-left: 150px;margin-top: 20px;">
                        <input type="text" id="title" name="title" lay-verify="title" autocomplete="off"
                               placeholder="搜索您感兴趣的课程" class="layui-input">
                        <a href="javascript:;" id="doSearch">搜索</a>
                    </div>
                    <div class="dengs" id="log">
                        <a id="login1" href="/cultivate/cultivateLogins?name=0"> 登录 </a>
                        <a id="reg1" href="/cultivate/cultivateLogins?name=1"> 注册 </a>
                    </div>
                    <div id="my" style="display: none">
                        <div class="myCenter">
                            <a href="/cultivate/my">[&nbsp;<span class="nm"> </span>&nbsp;]&nbsp; 个人中心 </a>
                            <i class="fa fa-bell-o" id="msgSize" aria-hidden="true"
                               style="position: relative;font-size: 16px;cursor: pointer">
                                <span class="bubble" style="display: none"></span>
                            </i>
                        </div>
                        <div class="logout">
                            <a href="#" id="logout">安全退出</a>
                        </div>
                    </div>
                    <div class="both"></div>
                </div>
                <!--导航-->
                <div class="h-list" style="margin-top:80px">
                    <ul>
                        <li class="item"><a href="/cultivate/homepage">首页 </a></li>
                        <li class="item"><a href="/cultivate/courseIndex">培训课程</a></li>
                        <li class="item"><a href="/cultivate/teacher">师资介绍</a></li>
                        <li class="item"><a href="/cultivate/study/studyOnline">在线学习</a></li>
                        <li class="item" onclick="job()"><a>应聘就业</a></li>
                        <li class="item"><a href="/cultivate/startUpBus">创新创业</a></li>
                        <li class="item"><a href="/cultivate/apply">机构申请</a></li>
                        <li class="item"><a class="hySpan" href="/cultivate/news?name=行业信息">行业公告</a></li>
                        <li class="item"><a href="/cultivate/query">信息查询</a></li>
                        <li class="item"><a href="/cultivate/about">关于我们</a></li>
                        <div class="both"></div>
                    </ul>
                    <div class="tel">
                        <div class="tel_inner" style="color: #005C34">
                            <i class="iconfont icon-dianhua-"></i> :0731-89799889
                        </div>
                    </div>
                    <div class="both"></div>
                </div>
            </div>
        </div>
    </div>
    <div style="clear: both"></div>
    <script type="text/javascript" src="/js/mobile.js"></script>
    <script>
        //IE中文传参乱码问题
        var newUrl3 = "/cultivate/news?name=行业信息";
        var newUrl4 = "/cultivate/news?name=通知公告";
        newUrl3 = encodeURI(newUrl3);
        newUrl4 = encodeURI(newUrl4);
        $(function () {
            $(".hySpan").attr("href", newUrl3);
            $(".tzSpan").attr("href", newUrl4);
            var url = window.location.href;

            if (url.indexOf("cultivateLogins") != -1) {
                $("#log").css("display", "block");
                $("#my").css("display", "none")
            } else {
                var userName = window.localStorage.getItem("userName");
                var unreadNum = window.localStorage.getItem("unreadNum1");
                if (userName != "" && userName != null) {
                    $(".nm").text(userName);
                    $("#log").css("display", "none");
                    $("#my").css("display", "block");
                    if (unreadNum != 0 && unreadNum != null && unreadNum != '') {
                        $(".bubble").css("display", "inline");
                        $(".bubble").text(unreadNum)
                    }
                } else {
                    $("#log").css("display", "block");
                    $("#my").css("display", "none")
                }
            }
            //公用导航栏的根据url控制选中导航
            var links = $(".item").find("a");
            var link = $(".item")
            index = 0,//默认第一个菜单项
                url = location.href.split('?')[0].split('/').pop();//取当前URL最后一个 / 后面的文件名，pop方法是删除最后一个元素并返回最后一个元素
            // console.log("url",url)
            if (url) {//如果有取到, 则进行匹配, 否则默认为首页(即index的值所指向的那个)
                for (var i = 0; i < links.length; i++) {//遍历 menu 的中连接地址
                    if (links[i].href.indexOf(url) !== -1) {  //有
                        index = i;
                        break;
                    }
                }
            }
            if (url == 'homepage' || url == 'courseIndex' || url == 'teacher' || url == 'studyOnline' ||
                url == 'getRecruit' || url == 'apply' || url == 'query' || url == 'about' || url == 'startUpBus' || url == 'news') {
                link[index].className += ' active';
            }

            $("#logout").click(function () {
                localStorage.clear();
                location.href = '/cultivate/homepage';
            });
            $("#doSearch").click(function () {
                var word = $("#title").val();
                if (!word) {
                    layer.alert("请输入要搜索的课程名称！");
                    return;
                }
                word = encodeURI(word);
                window.location.href = "/couInfo/courseSearch?name=" + word;
            });
            $("#msgSize").click(function () {
                location.href = '/cultivate/myMessage';
            })
        });

    </script>
</div>
<!--页尾-->
<div class="foots" th:fragment="footer">
    <!--底部公共-->
    <div class="foot">
        <div class="main-md">
            <!--<div class="foot_top">-->
            <!--<div class="yqlj">-->
            <!--友情链接 :-->
            <!--<a href=""> 湖南华豪科技发展有限公司</a>-->
            <!--</div>-->
            <!-- <div class="foot_lf">-->
            <!--<div class="foot_list">-->
            <!--<a href="?c=i&a=wei&myid=17">关于我们&nbsp;&nbsp;-</a>-->
            <!--</div>-->
            <!--</div>-->
            <!-- </div>-->
            <div class="foot-bottom">
                <p>公司地址：湖南省长沙市雨花区香樟路255号云集大厦四楼</p>
                <p>联系电话：0731-89799889 / 17773174867</p>
                <p>
                    版权所有：<a style="color:#b3b3b3;" target="_blank" href="http://www.jzwy123.com/">湖南金职伟业母婴护理有限公司</a><br>
                    技术支持：<a style="color:#b3b3b3;" target="_blank" href="">长沙民振教育科技有限公司</a><br>
                </p>
                <p>备案号：<a style="color:#b3b3b3;" target="_blank" href="http://beian.miit.gov.cn/"> 湘ICP备20003916号</a></p>
            </div>
        </div>
    </div>
</div>
